package com.wlb365.financing.modules.sys.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * <p>
 * 概述：
 * </p>
 *
 * @author zwh
 * @version 1.0
 * @copyRight 北京微利宝信息技术有限公司  All right reserved.
 * @date 2021/5/20
 */
@RestController
@RequestMapping("common")
public class ComonController {

    /**
     * 预览图片页面.
     * @param imgs 图片地址，多个以英文逗号分隔
     * @author zwh
     * @return org.springframework.web.servlet.ModelAndView
     **/
    @GetMapping(value = "/viewImg")
    public ModelAndView viewImg(String imgs) {
        ModelAndView mv = new ModelAndView("common/view_img");
        mv.addObject("imgs", imgs);
        return mv;
    }
}
